package tk.uodrad.apex.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import tk.uodrad.apex.project.pojo.dto.ChargeProjectAddNewDTO;
import tk.uodrad.apex.project.pojo.dto.ChargeProjectUpdateDTO;
import tk.uodrad.apex.project.pojo.dto.PeopleAddNewDTO;
import tk.uodrad.apex.project.pojo.dto.PeopleUpdateDTO;
import tk.uodrad.apex.project.pojo.entity.AssetEquipment;
import tk.uodrad.apex.project.pojo.entity.ChargeDetails;
import tk.uodrad.apex.project.pojo.entity.ChargeProject;
import com.baomidou.mybatisplus.extension.service.IService;
import tk.uodrad.apex.project.pojo.vo.ChargeDetailsListVO;
import tk.uodrad.apex.project.pojo.vo.ChargeProjectListVO;

/**
* @author Administrator
* @description 针对表【charge_project_management】的数据库操作Service
* @createDate 2023-04-06 19:36:08
*/
public interface ChargeProjectService extends IService<ChargeProject> {
    /**
     * 添加单个收费项目
     * @param chargeProjectAddNewDTO 添加收费项目DTO
     */
    void save(ChargeProjectAddNewDTO chargeProjectAddNewDTO);
    /**
     * 根据ID查询收费项目
     * @param id
     */
    ChargeProject selectById(Long id);
    /**
     * 根据ID修改收费项目
     * @param chargeProjectUpdateDTO 修改收费项目DTO
     */
    void updateById(ChargeProjectUpdateDTO chargeProjectUpdateDTO);
    /**
     * 分页查询收费项目列表
     * @param pageNum 第几页
     * @param pageSize 每页多少条数据
     * @param communityCode 小区编号
     * @return IPage<ChargeProjectListVO> ChargeProjectListVO分页对象
     */
    IPage<ChargeProjectListVO> list(Integer pageNum, Integer pageSize, String communityCode);
}
